<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title></title>
	
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.3.1.js"></script>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/user/top.js"></script>
	
</head>
<body>
	<nav class="navbar navbar-default navbar-fixed-top navbar-inverse">
		<div class="container-fluid">
			<div class="navbar-header">
				<a class="navbar-brand" href="${pageContext.request.contextPath}/User/indexUi">日本語の勉強</a>
			</div>

			<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
				<ul class="nav navbar-nav">
					<li><a href="${pageContext.request.contextPath}/Word/userSelectAll">词汇浏览</a></li>
					<li><a href="${pageContext.request.contextPath}/Word/testPaperChooseUi">单词默写</a></li>
					<li><a href="${pageContext.request.contextPath}/Word/userSelectAllWrongWord?userId=${loginUser.userId}">历史错词</a></li>
					<li><a href="${pageContext.request.contextPath}/TestPaper/selectAll?userId=${loginUser.userId}">考试回顾</a></li>
				</ul>
				<a href="${pageContext.request.contextPath}/User/loginOut"><button type="button" class="btn btn-default navbar-btn navbar-right" style="margin-right:30px;">注销</button></a>
				<ul class="nav navbar-nav navbar-right">
					<li id="loginUserId" ><p class="navbar-text">${loginUser.userId}</p></li>
					<li><p class="navbar-text">换迎，用户${loginUser.userName}</p></li>
					<li><a href="${pageContext.request.contextPath}/Word/userSelectAllStarWord?userId=${loginUser.userId}">我的收藏</a></li>
					<li><a href="#" style="margin-right:30px;">个人中心</a></li>
				</ul>
			</div>
		</div>
	</nav>
</body>
</html>